package com.guigu.tms.commons.work.feign;

import com.github.pagehelper.PageInfo;
import com.guigu.tms.commons.entity.work.DriverJob;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@FeignClient(value = "tms-work",path = "/work/driverJob",contextId = "driverjob")
public interface DriverFeign {
    @RequestMapping("/queryall")
    PageInfo<DriverJob> queryall(@RequestBody Map<String, String> condition);
}
